Skip to content

feat(cleanup): Phase A — hypothesis cleanup, Studies removal, discovery labels, action result log, loop failure detail#29

Closed
tbitcs wants to merge 1 commit into
phase-nextfrom
overhaul/cleanup
Closed

feat(cleanup): Phase A — hypothesis cleanup, Studies removal, discovery labels, action result log, loop failure detail#29
tbitcs wants to merge 1 commit into
phase-nextfrom
overhaul/cleanup

Conversation

@tbitcs

@tbitcs tbitcs commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Phase A — Cleanup and User-Visible Fixes

Changes

  1. Delete 6 noise hypotheses — Script at backend/scripts/cleanup_hypotheses.py removes LLM-generated meta-action entries (Plan chain, Create Hypothesis Chain, etc.) from glossa.db. Script was run successfully against the main DB (6 rows deleted, 8 remaining).

  2. Remove Studies tileCounterTile label="Studies" removed from dashboard counters grid. n_studies is still fetched from the API but not displayed.

  3. Fix discovery recency wording<select> now has a <label htmlFor> reading "Insight window:". Latest feed section shows subtitle with latest fetch date, total items, and unreviewed count. Description paragraph updated to say "Research feed window".

  4. Persistent action result log — New glossa_action_results_v1 localStorage store (max 50, FIFO). ActionResultLog collapsible component shows last 10 results with time, label, outcome chip, and error detail. Only renders when there are stored results.

  5. Research loop failure details — Backend event_stream() now emits type: error SSE events with reason, cycles_completed, last_experiment, elapsed_seconds. Frontend displays detailed failure panel with timeout-specific messaging.

Build

  • npx tsc -b: ✅ pass (0 errors)
  • npx vite build: ✅ pass

Conversation: https://app.warp.dev/conversation/5be0517f-0dfe-4386-9ff6-039ae34bc161
Run: https://oz.warp.dev/runs/019e84ec-7a74-746d-9167-3c112b4b4e16

This PR was generated with Oz.

…ry labels, action result log, loop failure detail

- Delete 6 noise hypotheses via backend/scripts/cleanup_hypotheses.py
- Remove Studies tile from dashboard counters grid
- Update discovery select label to 'Insight window:', add latest feed subtitle
- Add persistent ActionResultLog (localStorage, max 50, collapsible)
- Add error SSE event in research loop with failure detail panel
- Show cycles_completed, last_experiment, elapsed time on loop failure
- Timeout-specific messaging when stall_reason === 'timeout'

Co-Authored-By: Oz <oz-agent@warp.dev>
@tbitcs

tbitcs commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Closing: all changes from this branch have been absorbed into phase-next. Superseded by the ongoing work on that branch.

@tbitcs tbitcs closed this Jun 9, 2026
@tbitcs tbitcs deleted the overhaul/cleanup branch June 9, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant